package com.letoken.platform.repo.app.res.assets;

import com.letoken.platform.pub.enums.TokenTransactionStatusEnum;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.letoken.platform.pub.enums.TokenTransactionTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author letokenlabs
 * @date 2022/12/3
 */
@Data
@ApiModel(value = "查询Le账户代币-交易历史记录信息返回对象", description = "查询Le账户代币-交易历史记录信息返回对象")
public class QueryTokenAssetsHistoryRes {

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(name = "createTime", value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(name = "amount", value = "数量")
    private String amount;

    @ApiModelProperty(name = "sn", value = "订单号")
    private String sn;

    @ApiModelProperty(name = "fromAddress", value = "发送地址")
    private String fromAddress;

    @ApiModelProperty(name = "fromUserName", value = "发送用户名称")
    private String fromUserName;

    @ApiModelProperty(name = "toAddress", value = "接收地址")
    private String toAddress;

    @ApiModelProperty(name = "type", value = "交易类型")
    private Integer type;

    private String typeDesc;

    @ApiModelProperty(name = "status", value = "交易状态")
    private Integer status;


    @ApiModelProperty(name = "transferMode", value = "0平台互转 1链上提现")
    private Integer transferMode;

    @ApiModelProperty(name = "feeAmount", value = "提现手续费")
    private BigDecimal feeAmount;

}
